

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'words-form',
	'enableAjaxValidation'=>false,
)); ?>
<ul class="form_list form_list2">


	<?php echo $form->errorSummary($model); ?>

	<li class="c_f">
		<span class="tit">关键词：</span>
		<div class="cont f_l">
		<?php echo $form->textField($model,'zw_title',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'zw_title'); ?>
		</div>
	</li>

	<li class="c_f">
		<span class="tit">替换文字：</span>
		<div class="cont f_l">
		<?php echo $form->textField($model,'zw_replaceword',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'zw_replaceword'); ?>
		</div>
	</li>
	
	<li class="c_f">
		<span class="tit">级别：</span>
		<div class="cont f_l">
		<?php echo $form->radioButtonList($model,'zw_level',Words::model()->getLevel()); ?>
		<?php echo $form->error($model,'zw_level'); ?>
		</div>
	</li>

<?php /*
	<div class="row">
		<?php echo $form->labelEx($model,'zw_listorder',array('class'=>'tit')); ?>
		<?php echo $form->textField($model,'zw_listorder'); ?>
		<?php echo $form->error($model,'zw_listorder'); ?>
	</div>
**/ ?>
	<li class="c_f"><span class="tit">&nbsp;</span>
		<div class="cont f_l">
			<?php echo CHtml::submitButton($model->isNewRecord ? '更新屏蔽词' : '保存屏蔽词',array('class'=>'mem_btn mem_btn20 mr5')); ?>
		</div>
	</li>
</ul>
<?php $this->endWidget(); ?>
